package com.learn.spring.factory;

import org.springframework.beans.factory.FactoryBean;

public class TestFactoryBean implements FactoryBean<String> {
    @Override
    public String getObject() throws Exception {
        return "这里返回了String类型和TestFactoryBean类型不一样";
    }

    @Override
    public Class<?> getObjectType() {
        return null;
    }

    @Override
    public boolean isSingleton() {
        return false;
    }
}
